package com.tedu._04mybatis.pojo;

import java.util.Date;
import java.util.List;

//该类的每一个实例用于表示一个用户和其所有的微博信息
public class UserVO1 {
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private Date created;
    //此人所有的微博
    private List<Weibo> weiboList;

    private Integer getId (){
        return id;
    }
    private void setId (Integer id){
        this.id = id;
    }
    private String getUsername (){
        return username;
    }
    private void setUsername (String username){
        this.username = username;
    }
    private String getPassword (){
        return password;
    }
    private void setPassword (String password){
        this.password = password;
    }
    private String getNickname (){
        return nickname;
    }
    private void setNickname (String nickname){
        this.nickname = nickname;
    }
    private Date getCreated (){
        return created;
    }
    private void setCreated (Date created){
        this.created = created;
    }
    private List<Weibo> getWeiboList (){
        return weiboList;
    }
    private void setWeiboList (List<Weibo> weiboList){
        this.weiboList = weiboList;
    }

}
